From 07c3c89c6f952e08cc0fb57d1c8488fa0a1c3f14 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 31 Jul 2014 15:19:09 -0700 Subject: [PATCH] Touch up some documentation around commands --- src/bin/cargo-build.rs | 2 +- src/bin/cargo-clean.rs | 4 +++- src/bin/cargo-doc.rs | 2 +- src/bin/cargo-generate-lockfile.rs | 6 ++---- src/bin/cargo-run.rs | 2 +- src/bin/cargo-test.rs | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/bin/cargo-build.rs b/src/bin/cargo-build.rs index dba3b55b1..20de1bea4 100644 --- a/src/bin/cargo-build.rs +++ b/src/bin/cargo-build.rs @@ -37,7 +37,7 @@ fn main() { } fn execute(options: Options, shell: &mut MultiShell) -> CliResult> { - debug!("executing; cmd=cargo-compile; args={}", os::args()); + debug!("executing; cmd=cargo-build; args={}", os::args()); shell.set_verbose(options.flag_verbose); let root = try!(find_root_manifest_for_cwd(options.flag_manifest_path)); diff --git a/src/bin/cargo-clean.rs b/src/bin/cargo-clean.rs index f1ca527b6..f0be3d43f 100644 --- a/src/bin/cargo-clean.rs +++ b/src/bin/cargo-clean.rs @@ -15,12 +15,14 @@ use cargo::util::{CliResult, CliError}; use cargo::util::important_paths::{find_root_manifest_for_cwd}; docopt!(Options, " +Remove artifacts that cargo has generated in the past + Usage: cargo-clean [options] Options: -h, --help Print this message - --manifest-path PATH Path to the manifest to compile + --manifest-path PATH Path to the manifest to the package to clean -v, --verbose Use verbose output ", flag_manifest_path: Option) diff --git a/src/bin/cargo-doc.rs b/src/bin/cargo-doc.rs index c20e99538..afae8fc29 100644 --- a/src/bin/cargo-doc.rs +++ b/src/bin/cargo-doc.rs @@ -24,7 +24,7 @@ Options: --no-deps Don't build documentation for dependencies -j N, --jobs N The number of jobs to run in parallel -u, --update-remotes Update all remote packages before compiling - --manifest-path PATH Path to the manifest to compile + --manifest-path PATH Path to the manifest to document -v, --verbose Use verbose output By default the documentation for the local package and all dependencies is diff --git a/src/bin/cargo-generate-lockfile.rs b/src/bin/cargo-generate-lockfile.rs index 405c386e8..d15cb22aa 100644 --- a/src/bin/cargo-generate-lockfile.rs +++ b/src/bin/cargo-generate-lockfile.rs @@ -21,10 +21,8 @@ Usage: Options: -h, --help Print this message - --manifest-path PATH Path to the manifest to compile + --manifest-path PATH Path to the manifest to generate a lockfile for -v, --verbose Use verbose output - -All of the trailing arguments are passed as to the binary to run. ", flag_manifest_path: Option) fn main() { @@ -32,7 +30,7 @@ fn main() { } fn execute(options: Options, shell: &mut MultiShell) -> CliResult> { - debug!("executing; cmd=cargo-clean; args={}", os::args()); + debug!("executing; cmd=cargo-generate-lockfile; args={}", os::args()); shell.set_verbose(options.flag_verbose); let root = try!(find_root_manifest_for_cwd(options.flag_manifest_path)); diff --git a/src/bin/cargo-run.rs b/src/bin/cargo-run.rs index fd94a145b..0b4a06ce0 100644 --- a/src/bin/cargo-run.rs +++ b/src/bin/cargo-run.rs @@ -23,7 +23,7 @@ Options: -h, --help Print this message -j N, --jobs N The number of jobs to run in parallel -u, --update-remotes Update all remote packages before compiling - --manifest-path PATH Path to the manifest to compile + --manifest-path PATH Path to the manifest to execute -v, --verbose Use verbose output All of the trailing arguments are passed as to the binary to run. diff --git a/src/bin/cargo-test.rs b/src/bin/cargo-test.rs index f9c60fc39..defcc0305 100644 --- a/src/bin/cargo-test.rs +++ b/src/bin/cargo-test.rs @@ -24,7 +24,7 @@ Options: -h, --help Print this message -j N, --jobs N The number of jobs to run in parallel -u, --update-remotes Update all remote packages before compiling - --manifest-path PATH Path to the manifest to compile + --manifest-path PATH Path to the manifest to build tests for -v, --verbose Use verbose output All of the trailing arguments are passed to the test binaries generated for -- 2.30.2